package org.wlgzs.shop.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.wlgzs.shop.bean.CollectGoods;
import org.wlgzs.shop.bean.CollectGoodsExample;

public interface CollectGoodsMapper {
    long countByExample(CollectGoodsExample example);

    int deleteByExample(CollectGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CollectGoods record);

    int insertSelective(CollectGoods record);

    List<CollectGoods> selectByExample(CollectGoodsExample example);

    CollectGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CollectGoods record, @Param("example") CollectGoodsExample example);

    int updateByExample(@Param("record") CollectGoods record, @Param("example") CollectGoodsExample example);

    int updateByPrimaryKeySelective(CollectGoods record);

    int updateByPrimaryKey(CollectGoods record);
}